package com.ssyan.builder;

/**
 * @author ssyan
 * @Description TODO
 * @create 2021/8/28 2:29
 * @Version 1.0
 */
public abstract class AbstractHouse {

    //打地基
    public abstract void buildBasic();
    //砌墙
    public abstract void buildWalls();
    //封顶
    public abstract void roofed();

    public void build() {
        buildBasic();
        buildWalls();
        roofed();
    }
}
